home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 2.iso / pc / data / m39.dir / 00013.ls < prev    next >
Encoding:
Text File  |  1996-09-09  |  8.2 KB  |  226 lines

  1. on startMovie
  2.   global gPage1Column1, gPage1Column2, gPage1Column3, gPage1Column4, gPage1Column5, gPage2n3Column1, gPage2n3Column2, gPage2n3Column3, gPage2n3Column4, gPage2n3Column5, gMyPage
  3.   set gMyPage to 1
  4.   set gPage1Column1 to 1
  5.   set gPage1Column2 to 1
  6.   set gPage1Column3 to 1
  7.   set gPage1Column4 to 1
  8.   set gPage1Column5 to 1
  9.   set gPage2n3Column1 to 1
  10.   set gPage2n3Column2 to 1
  11.   set gPage2n3Column3 to 1
  12.   set gPage2n3Column4 to 1
  13.   set gPage2n3Column5 to 1
  14. end
  15.  
  16. on checkConditionsNext
  17.   global gPage1Column1, gPage1Column2, gPage1Column3, gPage1Column4, gPage1Column5, gPage2n3Column1, gPage2n3Column2, gPage2n3Column3, gPage2n3Column4, gPage2n3Column5, gMyPage
  18.   set gMyPage to gMyPage + 1
  19.   if gPage2n3Column1 then
  20.     set the castNum of sprite 12 to cast "hide1"
  21.     set mycast to "text" & gMyPage & ".1"
  22.     set the castNum of sprite 17 to cast mycast
  23.     set the locH of sprite 17 to 320
  24.     set the locV of sprite 17 to 240
  25.   else
  26.     set the castNum of sprite 12 to cast "view1"
  27.     set mycast to "text" & gMyPage & ".1"
  28.     set the castNum of sprite 17 to cast mycast
  29.     set the locH of sprite 17 to 1000
  30.     set the locV of sprite 17 to 1000
  31.   end if
  32.   if gPage2n3Column2 then
  33.     set the castNum of sprite 13 to cast "hide2"
  34.     set mycast to "text" & gMyPage & ".2"
  35.     set the castNum of sprite 18 to cast mycast
  36.     set the locH of sprite 18 to 320
  37.     set the locV of sprite 18 to 240
  38.   else
  39.     set the castNum of sprite 13 to cast "view2"
  40.     set mycast to "text" & gMyPage & ".2"
  41.     set the castNum of sprite 18 to cast mycast
  42.     set the locH of sprite 18 to 1000
  43.     set the locV of sprite 18 to 1000
  44.   end if
  45.   if gPage2n3Column3 then
  46.     set the castNum of sprite 14 to cast "hide3"
  47.     set mycast to "text" & gMyPage & ".3"
  48.     set the castNum of sprite 19 to cast mycast
  49.     set the locH of sprite 19 to 320
  50.     set the locV of sprite 19 to 240
  51.   else
  52.     set the castNum of sprite 14 to cast "view3"
  53.     set mycast to "text" & gMyPage & ".3"
  54.     set the castNum of sprite 19 to cast mycast
  55.     set the locH of sprite 19 to 1000
  56.     set the locV of sprite 19 to 1000
  57.   end if
  58.   if gPage2n3Column4 then
  59.     set the castNum of sprite 15 to cast "hide4"
  60.     set mycast to "text" & gMyPage & ".4"
  61.     set the castNum of sprite 20 to cast mycast
  62.     set the locH of sprite 20 to 320
  63.     set the locV of sprite 20 to 240
  64.   else
  65.     set the castNum of sprite 15 to cast "view4"
  66.     set mycast to "text" & gMyPage & ".4"
  67.     set the castNum of sprite 20 to cast mycast
  68.     set the locH of sprite 20 to 1000
  69.     set the locV of sprite 20 to 1000
  70.   end if
  71.   if gPage2n3Column5 then
  72.     set the castNum of sprite 16 to cast "hide5"
  73.     set mycast to "text" & gMyPage & ".5"
  74.     set the castNum of sprite 21 to cast mycast
  75.     set the locH of sprite 21 to 320
  76.     set the locV of sprite 21 to 240
  77.   else
  78.     set the castNum of sprite 16 to cast "view5"
  79.     set mycast to "text" & gMyPage & ".5"
  80.     set the castNum of sprite 21 to cast mycast
  81.     set the locH of sprite 21 to 1000
  82.     set the locV of sprite 21 to 1000
  83.   end if
  84.   updateStage()
  85. end
  86.  
  87. on checkConditionsPrevious
  88.   global gPage1Column1, gPage1Column2, gPage1Column3, gPage1Column4, gPage1Column5, gPage2n3Column1, gPage2n3Column2, gPage2n3Column3, gPage2n3Column4, gPage2n3Column5, gMyPage
  89.   set gMyPage to gMyPage - 1
  90.   if gMyPage = 2 then
  91.     if gPage2n3Column1 then
  92.       set the castNum of sprite 12 to cast "hide1"
  93.       set mycast to "text" & gMyPage & ".1"
  94.       set the castNum of sprite 17 to cast mycast
  95.       set the locH of sprite 17 to 320
  96.       set the locV of sprite 17 to 240
  97.     else
  98.       set the castNum of sprite 12 to cast "view1"
  99.       set mycast to "text" & gMyPage & ".1"
  100.       set the castNum of sprite 17 to cast mycast
  101.       set the locH of sprite 17 to 1000
  102.       set the locV of sprite 17 to 1000
  103.     end if
  104.     if gPage2n3Column2 then
  105.       set the castNum of sprite 13 to cast "hide2"
  106.       set mycast to "text" & gMyPage & ".2"
  107.       set the castNum of sprite 18 to cast mycast
  108.       set the locH of sprite 18 to 320
  109.       set the locV of sprite 18 to 240
  110.     else
  111.       set the castNum of sprite 13 to cast "view2"
  112.       set mycast to "text" & gMyPage & ".2"
  113.       set the castNum of sprite 18 to cast mycast
  114.       set the locH of sprite 18 to 1000
  115.       set the locV of sprite 18 to 1000
  116.     end if
  117.     if gPage2n3Column3 then
  118.       set the castNum of sprite 14 to cast "hide3"
  119.       set mycast to "text" & gMyPage & ".3"
  120.       set the castNum of sprite 19 to cast mycast
  121.       set the locH of sprite 19 to 320
  122.       set the locV of sprite 19 to 240
  123.     else
  124.       set the castNum of sprite 14 to cast "view3"
  125.       set mycast to "text" & gMyPage & ".3"
  126.       set the castNum of sprite 19 to cast mycast
  127.       set the locH of sprite 19 to 1000
  128.       set the locV of sprite 19 to 1000
  129.     end if
  130.     if gPage2n3Column4 then
  131.       set the castNum of sprite 15 to cast "hide4"
  132.       set mycast to "text" & gMyPage & ".4"
  133.       set the castNum of sprite 20 to cast mycast
  134.       set the locH of sprite 20 to 320
  135.       set the locV of sprite 20 to 240
  136.     else
  137.       set the castNum of sprite 15 to cast "view4"
  138.       set mycast to "text" & gMyPage & ".4"
  139.       set the castNum of sprite 20 to cast mycast
  140.       set the locH of sprite 20 to 1000
  141.       set the locV of sprite 20 to 1000
  142.     end if
  143.     if gPage2n3Column5 then
  144.       set the castNum of sprite 16 to cast "hide5"
  145.       set mycast to "text" & gMyPage & ".5"
  146.       set the castNum of sprite 21 to cast mycast
  147.       set the locH of sprite 21 to 320
  148.       set the locV of sprite 21 to 240
  149.     else
  150.       set the castNum of sprite 16 to cast "view5"
  151.       set mycast to "text" & gMyPage & ".5"
  152.       set the castNum of sprite 21 to cast mycast
  153.       set the locH of sprite 21 to 1000
  154.       set the locV of sprite 21 to 1000
  155.     end if
  156.   end if
  157.   if gMyPage = 1 then
  158.     if gPage1Column1 then
  159.       set the castNum of sprite 12 to cast "hide1.1"
  160.       set mycast to "text" & gMyPage & ".1"
  161.       set the castNum of sprite 17 to cast mycast
  162.       set the locH of sprite 17 to 320
  163.       set the locV of sprite 17 to 240
  164.     else
  165.       set the castNum of sprite 12 to cast "view1.1"
  166.       set mycast to "text" & gMyPage & ".1"
  167.       set the castNum of sprite 17 to cast mycast
  168.       set the locH of sprite 17 to 1000
  169.       set the locV of sprite 17 to 1000
  170.     end if
  171.     if gPage1Column2 then
  172.       set the castNum of sprite 13 to cast "hide1.2"
  173.       set mycast to "text" & gMyPage & ".2"
  174.       set the castNum of sprite 18 to cast mycast
  175.       set the locH of sprite 18 to 320
  176.       set the locV of sprite 18 to 240
  177.     else
  178.       set the castNum of sprite 13 to cast "view1.2"
  179.       set mycast to "text" & gMyPage & ".2"
  180.       set the castNum of sprite 18 to cast mycast
  181.       set the locH of sprite 18 to 1000
  182.       set the locV of sprite 18 to 1000
  183.     end if
  184.     if gPage1Column3 then
  185.       set the castNum of sprite 14 to cast "hide1.3"
  186.       set mycast to "text" & gMyPage & ".3"
  187.       set the castNum of sprite 19 to cast mycast
  188.       set the locH of sprite 19 to 320
  189.       set the locV of sprite 19 to 240
  190.     else
  191.       set the castNum of sprite 14 to cast "view1.3"
  192.       set mycast to "text" & gMyPage & ".3"
  193.       set the castNum of sprite 19 to cast mycast
  194.       set the locH of sprite 19 to 1000
  195.       set the locV of sprite 19 to 1000
  196.     end if
  197.     if gPage1Column4 then
  198.       set the castNum of sprite 15 to cast "hide1.4"
  199.       set mycast to "text" & gMyPage & ".4"
  200.       set the castNum of sprite 20 to cast mycast
  201.       set the locH of sprite 20 to 320
  202.       set the locV of sprite 20 to 240
  203.     else
  204.       set the castNum of sprite 15 to cast "view1.4"
  205.       set mycast to "text" & gMyPage & ".4"
  206.       set the castNum of sprite 20 to cast mycast
  207.       set the locH of sprite 20 to 1000
  208.       set the locV of sprite 20 to 1000
  209.     end if
  210.     if gPage1Column5 then
  211.       set the castNum of sprite 16 to cast "hide1.5"
  212.       set mycast to "text" & gMyPage & ".5"
  213.       set the castNum of sprite 21 to cast mycast
  214.       set the locH of sprite 21 to 320
  215.       set the locV of sprite 21 to 240
  216.     else
  217.       set the castNum of sprite 16 to cast "view1.5"
  218.       set mycast to "text" & gMyPage & ".5"
  219.       set the castNum of sprite 21 to cast mycast
  220.       set the locH of sprite 21 to 1000
  221.       set the locV of sprite 21 to 1000
  222.     end if
  223.   end if
  224.   updateStage()
  225. end
  226.